package com.xo.xodemo.mapper.db1;

import com.xo.xodemo.model.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper {
   List<Role> findRoleByUserPosition(@Param(value = "positionId") Integer positionId);
   List<Role> findAll();
}

